package com.woniu.servicesse.feignClient;

import com.woniu.internalcommon.dto.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-passenger-user")
public interface PassengerFeignClient {
    @GetMapping("/service-passenger-user/user/{phone}")
    ResponseResult getUser(@PathVariable("phone") String passengerPhone);
}
